package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
     //添加
     void add(Permission permission);
     //分页
     PageResult findPage(QueryPageBean queryPageBean);
     //根据id查询权限
     Permission findById(Integer id);
     //编辑
     void edit(Permission permission);

     //删除
     void delete(Integer id);

     //批量删除
    void deleteSelect(Integer[] ids);
    List<Permission> findAll();
}
